<template>
  <div>
    <tab-bar>
      <tab-bar-item path='/tabbar-home' activeColor="red">
        <img slot="item-icon" src="../../assets/images/tabbar/home.png" alt="">
        <img slot="item-icon-active" src="../../assets/images/tabbar/home_active.png" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path='/tabbar-category' activeColor="red">
        <img slot="item-icon" src="../../assets/images/tabbar/category.png" alt="">
        <img slot="item-icon-active" src="../../assets/images/tabbar/category_active.png" alt="">
        <div slot="item-text">分类</div>
      </tab-bar-item>
      <tab-bar-item path='/tabbar-shopcart' activeColor="red">
        <img slot="item-icon" src="../../assets/images/tabbar/shopcart.png" alt="">
        <img slot="item-icon-active" src="../../assets/images/tabbar/shopcart_active.png" alt="">
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path='/tabbar-profile' activeColor="red">
        <img slot="item-icon" src="../../assets/images/tabbar/profile.png" alt="">
        <img slot="item-icon-active" src="../../assets/images/tabbar/profile_active.png" alt="">
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>
<script>
import TabBar from './TabBar.vue'
import TabBarItem from './TabBarItem.vue'
export default{
  name:'tabbar-category',
  components:{
    TabBar,
    TabBarItem
  },
  data(){
    return{

    }
  },
}
</script>
<style lang="scss" scoped>

</style>
